package com.chuangtie.tlcms.saturn.domain.repository;

import com.chuangtie.tlcms.saturn.domain.aggregate.Property;
import com.chuangtie.tlcms.saturn.domain.aggregate.PropertyInfo;
import com.chuangtie.tlcms.saturn.domain.aggregate.PropertyQuery;

import java.util.List;

/**
 * @Author: 廖智威
 * @CreateTime: 2024-07-09
 */
public interface PropertyRepository {

    /**
     * 获取工程信息列表
     * @return
     */
    List<PropertyInfo> propertyInfoList(PropertyQuery propertyQuery);

    /**
     * 创建工程
     * @return
     */
    Boolean createProperty(Property property);
}
